package com.the_ring.behavior.command;

/**
 * @author: t22306139
 * @date: 2023/12/1  14:33
 */
public class Light {

    String loc = "";

    public Light(String loc) {
        this.loc = loc;
    }

    public void on() {
        System.out.println(loc + " On");
    }

    public void off() {
        System.out.println(loc + " Off");
    }
}
